<?php /* Smarty version Smarty-3.0.8, created on 2015-10-15 10:44:53
         compiled from "tpl/article_index.html" */ ?>
<?php /*%%SmartyHeaderCode:123924546561f1325a555b0-05357166%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2ea103e4cceb333d2cbffaf8a9d3392eab1b5fc5' => 
    array (
      0 => 'tpl/article_index.html',
      1 => 1444876874,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '123924546561f1325a555b0-05357166',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("tpl/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>

<?php  $_smarty_tpl->tpl_vars['articles'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['cat_key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('result')->value['article']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['articles']->key => $_smarty_tpl->tpl_vars['articles']->value){
 $_smarty_tpl->tpl_vars['cat_key']->value = $_smarty_tpl->tpl_vars['articles']->key;
?>
<div class="intro_header" ><?php echo $_smarty_tpl->getVariable('cat')->value[$_smarty_tpl->tpl_vars['cat_key']->value]['title'];?>
</div>
<div id="article_list" style="margin-bottom:35px;">

	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['articles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
		<div class="article_li" style="<?php if ($_smarty_tpl->tpl_vars['key']->value==0){?>border-top:0;<?php }?>">
			
			<a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>$_smarty_tpl->getVariable('c')->value,'a'=>'detail','id'=>$_smarty_tpl->tpl_vars['item']->value['id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a>
			<span class="add_time"><?php echo $_smarty_tpl->tpl_vars['item']->value['add_time'];?>
</span>
		</div>
	<?php }} ?>

</div>
<div class="clear"></div>
<?php }} ?>


<?php $_template = new Smarty_Internal_Template("tpl/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>